package pojo;

import java.io.Serializable;

/**
 * @author :kuexun
 * @description : todo
 * @create : 2019/9/2 21:26
 */
public class House implements Serializable{

    private int id;

    private int userId;

    private int typeId;

    private String title;

    private String description;

    private double price;

    private String pubDate;

    private int floorAge;

    private String contact;

    private int streetId;

    @Override
    public String toString() {
        return "House{" +
                "id=" + id +
                ", userId=" + userId +
                ", typeId=" + typeId +
                ", title='" + title + '\'' +
                ", description='" + description + '\'' +
                ", price=" + price +
                ", pubDate='" + pubDate + '\'' +
                ", floorAge=" + floorAge +
                ", contact='" + contact + '\'' +
                ", streetId=" + streetId +
                '}';
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public int getTypeId() {
        return typeId;
    }

    public void setTypeId(int typeId) {
        this.typeId = typeId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public String getPubDate() {
        return pubDate;
    }

    public void setPubDate(String pubDate) {
        this.pubDate = pubDate;
    }

    public int getFloorAge() {
        return floorAge;
    }

    public void setFloorAge(int floorAge) {
        this.floorAge = floorAge;
    }

    public String getContact() {
        return contact;
    }

    public void setContact(String contact) {
        this.contact = contact;
    }

    public int getStreetId() {
        return streetId;
    }

    public void setStreetId(int streetId) {
        this.streetId = streetId;
    }
}
